<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--[if lt IE 7 ]> <html class="no-js ie6"> <![endif]-->
<!--[if IE 7 ]>    <html class="no-js ie7"> <![endif]-->
<!--[if IE 8 ]>    <html class="no-js ie8"> <![endif]-->
<!--[if IE 9 ]>    <html class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<html class="no-js">
<!--<![endif]-->
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
	<title>体检预约服务平台 - 医通在线</title>
	<link href="templates/css/global.css" rel="stylesheet" type="text/css" />
	<link href="templates/css/agency.css" rel="stylesheet" type="text/css" />
	<link href="templates/css/layoutskin.css" rel="stylesheet" type="text/css" />
    <script src="templates/js/form.js" type="text/javascript"></script>
    <script src="templates/js/common.js" type="text/javascript"></script>
    <script src="templates/js/func/buy.js" type="text/javascript"></script>
	<meta content="" name="Keywords">
	<meta name="description" content="" />
	<!--[if IE 6]>
	<script src="../../js/ddpng.js" type="text/javascript"></script>
	<script type="text/javascript">DD_belatedPNG.fix('.ddpng');</script>
    <![endif]-->
</head>
<body>

<!--header st-->
<{include file="../templates/$newtpl/header.html"}>

<FORM  action="<{$__URL__}>goto_pay" method="post" enctype="application/x-www-form-urlencoded" name="sform" target="_blank" id="sform">
<div class="row mb10 center_layout fix">
	<div class="org_tip">请您在下单后<em>45分钟</em>内完成支付，逾期未付款订单将被取消，需重新下单。</div>
	<div id="orderWrap">
		<div class="box proinfo mb20">
			<h5>商品信息</h5>
			<div class="boxcon">
					<dl>
						<dt>
							<span class="name">商品信息</span>
							<span class="price">价格</span>
							<span class="num">数量</span>
							<span class="sum">总价</span>
						</dt>
						<{foreach from=$so_list item=ac_info}>
						<dd class="fix">
							<span class="name">
                            <{if $ac_info.so_type ==2}>
                                加项订单
                            <{else}>
                                <{if $ac_info.source == 3}>
                                    <a target="_blank" href="/kouqiang" title="<{$ac_info.pname.product_name}>"><{$ac_info.pname.product_name}></a>
                                <{else}>
                                    <a target="_blank" href="<{$__URL__}>product&code=<{$ac_info.pname.product_sign}>" title="<{$ac_info.pname.product_name}>"><{$ac_info.pname.product_name}></a>
                                <{/if}>

                            <{/if}>


							<{if $ac_info.so_type ==1}>
								<font color="#FF0000">(员工升级套餐)</font>
							<{/if}>

							<{if $ac_info.so_type ==2}>
								<font color="#FF0000">(加项订单)</font>,父订单<{$ac_info.parent_id}>
							<{/if}>

							<{if $ac_info.so_type ==3}>
								<font color="#FF0000">(升级+加项订单)</font>
							<{/if}>

							<{if $ac_info.so_type ==4}>
								<font color="#FF0000">(家属订单)</font>
							<{/if}>

							<{if $ac_info.so_type ==5}>
								<font color="#FF0000">(家属+加项订单)</font>
							<{/if}>

							<{if $ac_info.addon_name!=''}>
								<br/>
								<font style='color:#666666;'>加项：<{$ac_info.addon_name}></font>
							<{/if}>
							</span>
							<span class="price" style="padding-top:0px">¥<{$ac_info.order_action_price}></span>
							<span class="num">
								<cite class="fl add">

								</cite>
								<cite class="fl" style="margin-left:15px"><{$ac_info.goods_num}>
								</cite>

							</span>
							<span class="sum" style="padding-top:0px">¥<{$ac_info.order_action_price*$ac_info.goods_num}></span>
						</dd>
						<{/foreach}>
					</dl>
				<div class="sumbar">
			    应付总额：<em>¥<{$total_price}></em>
			    <input name="orderids" type="hidden" id="orderids" value="<{$pcode}>" />
                            <input name="totalprice" type="hidden" id="totalprice" value="<{$pay_price}>" />
				</div>
			</div>
			<div class="boxcon2">
				<div class="boxcon combo_list">
					<h6>选择支付平台</h6>
					<div class="list mb20">
						<dl class="fix">
							<{foreach from=$payment_list item=payment_item}>
								<{if $payment_item.id eq 5 || $payment_item.id eq 27}>
									<dd><label>
									<{$payment_item.display_code}>
									</span></label></dd>
								<{/if}>
							<{/foreach}>

							<!-- 微信支付 begin 
							<dd>
								<label>
									<input type="radio" name="payment" value="29" onClick="alert('微信扫码支付不支持批量付款，如果批量付款请选择支付宝支付!');" />

									<img src='./templates/images/wx_pay_logo.png' width='127' height='30' style='border:1px solid #ccc;'/>
								</label>
							</dd>
							 微信支付 end -->
						</dl>

						<!-- 微信支付 begin 
						<dl>
							<dd>
								<label>
									<input type="radio" name="payment" value="29" />
									<span class='wxpayLogo' title='微信支付'>微信支付</span>
								</label>
							</dd>
						</dl>
						 微信支付 end -->
					</div>
					<h6>选择支付银行</h6>
					<div class="list mb20">
						<dl class="fix">
							<{foreach from=$payment_list item=payment_item}>
								<{if $payment_item.id neq 5 && $payment_item.id neq 27 && $payment_item.id neq 28}>
									<dd><label>
									<{$payment_item.display_code}>
									</span></label></dd>
								<{/if}>
							<{/foreach}>
						</dl>
					</div>
				</div>
			</div>
			<div class="btn"><a href="###" class="go_pay" onClick="submit_buy();"><img src="templates/images/go.jpg" width="168" height="46"></a></div>
		</div>
	</div>
</div>
</FORM>
<{include file="../templates/$newtpl/foot.html"}>

<!--弹框提示 st-->
<div id="dialogPay" class="div_none">
	<div class="con fix">
		<div class="txt">
			<p>请您在新打开的网上银行页面进行支付，支付完成前请不要 关闭该窗口。</p>
		</div>
	</div>
	<div class="btn_bar"><a href="/myorder" title="已完成支付" class="btn_gray">已完成支付</a><a href="/myorder" title="付款遇到问题" class="btn_gray">付款遇到问题</a></div>
</div>

<!--脚本如下-->
<script src="templates/js/jquery-1.7.2.min.js" type="text/javascript"></script>
<script src="templates/js/jquery.switchable2.min.js" type="text/javascript"></script>
<script src="templates/js/jquery.layout.js" type="text/javascript"></script>
<script src="templates/js/global.js" type="text/javascript"></script>

<script type="text/javascript">
	$('.go_pay').click(function(){
		art.dialog({
			id: 'dialogPay',
			content: document.getElementById('dialogPay'),
			title: '付款确认',
			skin: "greenbox",
			width: 400,
			opacity: 0.2,
			lock: true,
			padding: 10,
			drag: true,
			resize: false,
			close: function () {
			}
		});
	});

	$(document).ready(function(){
		$(":radio[value='5']").attr("checked", 'checked');
	});
</script>
</body>
</html>